/**
 * Created by yqj on 2017/1/23.
 */
import Vue from 'vue'
import vueResource from 'vue-resource'
Vue.use(vueResource)

// http请求拦截
require('../interceptors')(Vue)

const Resource = Vue.resource

export const userResource = require('./user')(Resource)
export const contentManagementResource = require('./contentManagement')(Resource)
export const dictionaryManagementResource = require('./dictionaryManagement')(Resource)
export const knowledgePointManagementResource = require('./knowledgePointManagement')(Resource)
